
          <form data-bv-feedbackicons-validating="glyphicon glyphicon-refresh" data-bv-feedbackicons-invalid="glyphicon glyphicon-remove" data-bv-feedbackicons-valid="glyphicon glyphicon-ok" class="form-horizontal bv-form" id="FuwuForm" novalidate="novalidate">
          
     	<div class="row">
           
                <h4>服务分类：</h4>
    		 
              <div class="btn-group">
                            <a href="javascript:void(0);" class="btn btn-default" id="CategoryNanme">{if !empty($manage['category_name_1'])}{if $manage['category_name_3']}{echo $manage['category_name_3']} > {/if}{echo $manage['category_name_2']} > {echo $manage['category_name_1']}{else}请选择分类{/if}</a>
                            <a href="javascript:void(0);" data-toggle="dropdown" class="btn btn-default  dropdown-toggle"><i class="fa fa-angle-down"></i></a>
                            <ul class="dropdown-menu" id="FuwuCategory" style="z-index:1001"></ul>
                  </div>
   
  
       </div>
       <br>
       
		{if !C('otoo_open')}
      	<div class="row">
            
                 <h4>服务地区：</h4>
    			<script type="text/javascript" src="{echo AURL}/js/jquery_cityselect.js"></script>
            	<script type="text/javascript" src="{echo AURL}/js/foxphp_json_city_all.js"></script>
    
    	
                <div class="input-group" id="city_1">					  
                                <select class="prov"></select> 
                                <select class="city"></select>
                                <select class="dist"></select>
                </div>
    
                    
                            
            <script type="text/javascript">$(function(){$("#city_1").citySelect({prov:$("#ProvId").val(),city:$("#CityId").val(),dist:$("#DistId").val(),nodata:"none"});});</script>
            <input type="hidden" id="ProvId" name="provid" AUTOCOMPLETE="off"  value="{if !empty($manage["provid"])}{echo $manage["provid"]}{else}1{/if}">
            <input type="hidden" id="CityId" name="cityid" AUTOCOMPLETE="off"  value="{if !empty($manage["cityid"])}{echo $manage["cityid"]}{else}37{/if}">
            <input type="hidden" id="DistId" name="distid" AUTOCOMPLETE="off"  value="{if !empty($manage["distid"])}{echo $manage["distid"]}{else}567{/if}">
            
        </div>  
             <br>
             {/if}
             

               <div class="row">
           	   <div class="col-lg-8"><div class="row"><h4>服务标题：</h4></div></div>
			   <div class="col-lg-8">
               <div class="form-group has-feedback">
               <input type="text" name="subject" value="{if !empty($manage['subject'])}{echo $manage['subject']}{/if}" class="form-control" placeholder="服务标题">
               </div>
               </div>
               </div>

               <div class="row">
           	   <div class="col-lg-8"><div class="row"><h4>服务报价：（元）</h4> </div></div>
			   <div class="col-lg-5">
               <div class="form-group has-feedback">
               <input type="text" name="money" value="{if !empty($manage['money'])}{echo $manage['money']}{/if}" class="form-control" placeholder="服务报价">
               </div>
               </div>
               </div>
               
               <div class="row">
           	   <div class="col-lg-8"><div class="row"><h4>服务周期：（天）</h4> </div></div>
			   <div class="col-lg-5">
               <div class="form-group has-feedback">
               <input type="text" name="endtime" value="{if !empty($manage['endtime'])}{echo $manage['endtime']}{/if}" class="form-control" placeholder="服务周期">
               </div>
               </div>
               </div>
       
               
                 <div class="row">
                 <div class="col-lg-11">
                 <div class="row">
                 	 <script>var upload_extensions_title='Images'; var upload_extensions='gif,jpg,jpeg,png'; var upload_mimetypes='image/*'; </script>
               		 {template Public:Page:webuploader}
                     <div class="col-lg-12"><div class="row">最多可添加五个附件，每个大小不超过{echo $uploadsize}M</div></div>
                     <div class="col-lg-12">
                    <div class="form-group has-feedback">
                    <a href="javascript:void(0);" id="UploadFile">添加封面图</a>
                    </div>
                    </div>
                </div>
                </div>
                </div>
	
         		<div class="row">
                <div class="col-lg-12"><div class="row"><h4>详细描述服务：</h4></div></div>
                
                {template Public:Page:umeditor}
                
                <div class="col-lg-11">
          		<div class="form-group has-feedback">
                <textarea id="Content" name="content" style="width:100%;height:300px;">{if !empty($manage['content'])}{echo htmlspecialchars_decode($manage['content'])}{/if}</textarea>
                </div>
                </div>
                </div>
        
        
        
		<div class="row">
               <div class="col-lg-12">
               	<div class="row"><button class="btn btn-success" type="submit">发布</button></div>
               </div>
            </div>

          <input type="hidden" name="datatype" value="json"/>
          <input type="hidden" name="Submit" value="true"/>
          <input type="hidden" name="catid" id="Catid" value="{if !empty($manage['catid'])}{echo $manage['catid']}{/if}"/>
          <input type="hidden" name="id" value="{echo $id}"/>
           
          </form>
          
